#define _CRT_SECURE_NO_WARNINGS 1
#include "string.h"

int main()
{
	std::string s("zzzzyh");
	s.assign("1212122",1,1);
	std::cout << s << endl;
	
	return 0;
}